﻿using System.Collections.Generic;
using CodeCamp.Models.Shared;

namespace CodeCamp.Models.Presenters
{
  public class PresentersListViewModel : SharedViewModel
  {
    // presenter list

    public List<Presenter> Presenters { get; set; }

    public class Presenter
    {
      public int PresenterId { get; set; }
      public string Name { get; set; }
      public string TwitterName { get; set; }
      public string Biography { get; set; }
      public string WebsiteUrl { get; set; }
      public string BlogUrl { get; set; }
      public List<Session> Sessions { get; set; }

      public class Session
      {
        public int SessionId { get; set; }
        public string Title { get; set; }
      }
    }


    // user state

    public bool IsUserAuthenticated { get; set; }
    public bool IsUserAPresenter { get; set; }
    public int UserPresenterId { get; set; }
  }
}